package com.tsyz.servlet.domain.mapstruct;

import com.tsyz.servlet.domain.bo.resq.UserFindAllRespBO;
import com.tsyz.servlet.domain.po.UserPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 项目名称: java-learning-records <br>
 * *********************************<br>
 * 包路径: com.tsyz.servlet.domain.mapstruct <br>
 * *********************************<br>
 * 描述: <br>
 *
 * @author ext.zhaoke14 <br>
 * @version 1.0 <br>
 * @date 2025/10/29 下午2:36
 */

@Mapper
public interface UserFindAllRespBOMapper {

    /**
     * 单例对象
     */
    UserFindAllRespBOMapper INSTANCE = Mappers.getMapper(UserFindAllRespBOMapper.class);

    UserFindAllRespBO poToBo(UserPO userPo);

    List<UserFindAllRespBO> poToBo(List<UserPO> userPo);

}
